package com.quanxiaoha.xiaohashu.user.biz.domain.dataobject;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @TableName t_user
 */
@TableName(value = "t_user")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UserDO {
	@TableId(type = IdType.AUTO)
	private Long id;
	
	private String xiaohashuId;
	
	private String password;
	
	private String nickname;
	
	private String avatar;
	
	private LocalDate birthday;
	
	private String backgroundImg;
	
	private String phone;
	
	private Integer sex;
	
	private Integer status;
	
	private String introduction;
	
	private LocalDateTime createTime;
	
	private LocalDateTime updateTime;
	
	private Boolean isDeleted;
	
}